﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GiteePlugin.Core.Auth
{
    public interface IGiteeAuthProvider
    {
        Task<string> GetAccessTokenAsync(string code);
        Task<string> BuildAuthorizationUrl(string state);
        Task ExchangeCodeAsync(string code);
    }
}
